package com.ww.springboot.boot.baseTest.design.原型.son;

import com.ww.springboot.boot.baseTest.design.原型.son.su.Shape;

/**
 * 方形
 */
public class Square extends Shape {
 
   public Square(){
     type = "Square";
   }
 
   @Override
   public void draw() {
      System.out.println("Inside Square::draw() method.");
   }
}